package Box2D.Dynamics.Controllers
{
	import Box2D.Common.Math.b2Mat22;

	public class b2TensorDampingControllerDef extends b2ControllerDef
	{
		private var _T:b2Mat22
		public function b2TensorDampingControllerDef()
		{
			super(callDirect('b2TensorDampingControllerDef_new'));
			_T = new b2Mat22(wrapper+4);
		}
		
		/// Tensor to use in damping model
		public function get T():b2Mat22{return _T}
		
		/// Set this to a positive number to clamp the maximum amount of damping done.
		public function get maxTimestep():Number{return getNumber(20)}
		public function set maxTimestep(value:Number):void{setNumber(20,value)}
		
		/// Sets damping independantly along the x and y axes
		public function SetAxisAligned(xDamping:Number,yDamping:Number):void{
			
		}
	}
}